package com.nami.conver.infra.convertor;


import com.nami.conver.domain.pchat.model.ConverModel;
import com.nami.conver.infra.orm.model.ConversationDO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

@Mapper
public interface ConverConvert {

    ConverConvert INSTANCE = Mappers.getMapper(ConverConvert.class);

    ConverModel convert(ConversationDO conversationDO);
    List<ConverModel> convertList(List<ConversationDO> conversations);
}

